using System;


namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	[System.ComponentModel.ToolboxItem(true)]
	public class MultiShape:Camalon.Drawing.ShapeContainer
	{
		protected Camalon.Drawing.Shapes.RectangleShape rectangleShape1;
		protected Camalon.Drawing.Shapes.RectangleShape rectangleShape3;
		protected Camalon.Drawing.Shapes.RectangleShape rectangleShape6;
		private Camalon.Drawing.LinearGradientFill linearGradientFill1;
		private Camalon.Drawing.Shapes.Castle castle1;
		private Camalon.Drawing.ShapePen shapePen1;
		private Camalon.Drawing.PathGradientFill pathGradientFill1;
		private Camalon.Drawing.SolidFill solidFill1;

		private void InitializeComponent()
		{
            this.solidFill1 = new Camalon.Drawing.SolidFill();
            this.rectangleShape1 = new Camalon.Drawing.Shapes.RectangleShape();
            this.linearGradientFill1 = new Camalon.Drawing.LinearGradientFill();
            this.rectangleShape3 = new Camalon.Drawing.Shapes.RectangleShape();
            this.rectangleShape6 = new Camalon.Drawing.Shapes.RectangleShape();
            this.pathGradientFill1 = new Camalon.Drawing.PathGradientFill();
            this.castle1 = new Camalon.Drawing.Shapes.Castle();
            this.shapePen1 = new Camalon.Drawing.ShapePen();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // solidFill1
            // 
            this.solidFill1.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.IndianRed);
            // 
            // rectangleShape1
            // 
            this.rectangleShape1.Fill = this.linearGradientFill1;
            this.rectangleShape1.Position = new System.Drawing.Point(159, 90);
            this.rectangleShape1.Shear = new Camalon.Drawing.Shear(-60, 0);
            this.rectangleShape1.Size = new System.Drawing.Size(300, 100);
            this.rectangleShape1.Status = 1;
            // 
            // linearGradientFill1
            // 
            this.linearGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.MistyRose),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Peru, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 1F)};
            // 
            // rectangleShape3
            // 
            this.rectangleShape3.Fill = this.linearGradientFill1;
            this.rectangleShape3.Position = new System.Drawing.Point(101, 188);
            this.rectangleShape3.Size = new System.Drawing.Size(299, 102);
            this.rectangleShape3.Status = 1;
            // 
            // rectangleShape6
            // 
            this.rectangleShape6.Fill = this.pathGradientFill1;
            this.rectangleShape6.Position = new System.Drawing.Point(399, 139);
            this.rectangleShape6.Shear = new Camalon.Drawing.Shear(0, -50);
            this.rectangleShape6.Size = new System.Drawing.Size(120, 102);
            this.rectangleShape6.Status = 1;
            // 
            // pathGradientFill1
            // 
            this.pathGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Silver, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 1F)};
            // 
            // castle1
            // 
            this.castle1.BorderType = Camalon.Drawing.Shapes.BorderType.Line;
            this.castle1.Pen = this.shapePen1;
            this.castle1.Position = new System.Drawing.Point(60, 120);
            this.castle1.Size = new System.Drawing.Size(558, 321);
            this.castle1.Visible = false;
            // 
            // shapePen1
            // 
            this.shapePen1.Width = 2F;
            // 
            // MultiShape
            // 
            this.PaintChildsOnly = true;
            this.Position = new System.Drawing.Point(70, 70);
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.rectangleShape6,
            this.rectangleShape3,
            this.rectangleShape1});
            this.Size = new System.Drawing.Size(488, 321);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}

	
//		public MultiShape(System.ComponentModel.IContainer container)
//		{
//			///
//			/// Required for Windows.Forms Class Composition Designer support
//			///
//			container.Add(this);
//			InitializeComponent();
//
//		}

		public MultiShape()
		{
			InitializeComponent();
			
		}
	}
}
